<form id="crypt-form" class="form-horizontal" action="/admin/interface-test/decrypt" method="post" accept-charset="utf-8">
    {% raw xsrf_form_html() %}
    <div class="form-group">
        <label for="project" class="col-md-2 col-lg-1 control-label">所属项目:</label>
        <div class="col-md-3 col-lg-2">
            <select id="project" name="project" class="form-control">
                <option value="0" selected>请选择项目</option>
                {% for pj in project_list %}
                <option value="{{ pj.id }}">{{ pj.name }}</option>
                {% end %}
            </select>
        </div>
        <label for="crypt" class="control-label col-md-2 col-lg-1">解密算法:</label>
        <div class="col-md-4 col-lg-2">
            <select id="crypt" name="decrypt" class="form-control">
                <option value="0" selected>请选择解密算法</option>
            </select>
        </div>
    </div>
    <div class="form-group">
        <label for="source" class="control-label col-md-2 col-lg-1">密文:</label>
        <div class="col-md-9 col-lg-5">
            <textarea id="source" name="source" class="form-control" style="height:200px;"></textarea>
        </div>
    </div>
    <div class="form-group">
        <div class="col-md-offset-2 col-md-2 col-lg-offset-1 col-lg-1">
            <input type="button" id="crypt-submit" class="btn btn-primary" value="解密">
        </div>
    </div>
    <div class="form-group test-response">
        <label class="col-md-2 col-lg-1 control-label">明文:</label>
        <div class="col-md-9 col-lg-5">
            <span class="well form-control" id="crypt-text"></span>
        </div>
    </div>
</form>